GtkApplication: some cleanups
authorMatthias Clasen <mclasen@redhat.com>
Mon, 25 Jul 2016 13:11:21 +0000 (09:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 25 Jul 2016 13:11:21 +0000 (09:11 -0400)
commitf089d7503b5e23caa8e99090439ff0ffd8d815cb
treee509ef9273df25b1621ea2d2f35014a864c9de02
parentf65c116d2a326e195a7fd7e64fb210b2c8486899
GtkApplication: some cleanups

Always return an error if we fail to get a dbus proxy; the callers
are only looking whether error is set, not whether the return value
is NULL.

Use the same function for the inhibit proxy as well, and clean up
the sm_proxy in finalize.
gtk/gtkapplication-dbus.c